//团队
import request from '@/utils/request'

export function listTeamanalysisList(params) {
  return request({
    url: '/analy/system/teamanalysis/list',
    method: 'get',
    params
  })
}

// 查询团队汇总数据
export function listGroupInfo(params) {
  return request({
    url: '/analy/system/teamanalysis/groupInfo',
    method: 'get',
    params
  })
}

// 查询团队层级数据
export function listGroupListLevel(params) {
    return request({
      url: '/analy/system/teamanalysis/groupListLevel',
      method: 'get',
      params
    })
  }

  // 查询团队层级汇总数据
export function listGroupInfoLevel(params) {
    return request({
      url: '/analy/system/teamanalysis/groupInfoLevel',
      method: 'get',
      params
    })
  }



// 查询团队汇总数据非权限
export function listGroupInfoSingle(params) {
  return request({
    url: '/analy/system/teamanalysis/groupInfoSingle',
    method: 'get',
    params
  })
}

// 查询团队层级数据非权限
export function listGroupListLevelSingle(params) {
  return request({
    url: '/analy/system/teamanalysis/groupListLevelSingle',
    method: 'get',
    params
  })
}

// 查询团队层级汇总数据非权限
export function listGroupInfoLevelSingle(params) {
  return request({
    url: '/analy/system/teamanalysis/groupInfoLevelSingle',
    method: 'get',
    params
  })
}
